package com.wang.ssm.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wang.ssm.pojo.vo.ExamVo;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 王瑞杰
 * date 2023/10/30
 */
@Data
public class Score implements Serializable {
   private Integer scid;
   private Integer eid;
   private Integer uid;
   private Integer score;
   @DateTimeFormat(pattern = "yy-MM-dd HH:mm:ss")
   @JsonFormat(pattern = "yy-MM-dd HH:mm:ss",timezone = "GMT+8")
   private Date etime;
   private ExamVo examVo;
   private User user;
}
